package com.isesol.ime.dao;

import com.isesol.ime.entity.*;
import com.isesol.orm.jpa.*;
import org.springframework.data.jpa.repository.*;
import org.springframework.stereotype.Repository;

import java.util.*;

/**
 * 报文管理 DAO
 *
 * @author Wang Jun
 */
@Repository
public interface MessageDao extends JpaDao<Message, Long>{

	List<Message> findByMsgId(String msgId);

	List<Message> findByMsgName(String msgName);

	List<Message> findByTypeId(long typeId);

}
